<template>
    <div class="mine">
        <div class="left"></div>
        <div class="right">
            <p>账号:{{ userStore.user.username }}</p>
            <p>姓名：{{userStore.user.name }}</p>
            <p>角色:{{ userStore.user.roleName }}</p>
            <p>电话:{{ userStore.user.phone }}</p>
            <p>身份证号：{{ userStore.user.idCard }}</p>
            <p>住址:{{ userStore.user.userAddress }}</p>
            <p>入职时间:{{ userStore.user.entryTime }}</p>
        </div>
        <el-skeleton :rows="5" animated />
    </div>
</template>

<script setup lang="ts">
import useUser from '../../store/user.ts'
let userStore = useUser()
</script>

<style lang="scss" scoped>
.mine{
    display: flex;
    .left{
        width: 300px;
        height: 300px;
    }
    .right{
        margin-left: 10px;
        p{
            font-size: 20px;
            padding: 10px 0;
            color: #606266;
            font-family: 'Microsoft YaHei';
        }
    }
}
</style>